package com.wxapp.common.constant.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author lgl
 */
@Data
@Component
@ConfigurationProperties(prefix = "jwt")
public class LoginProperties {
    //签名密钥
    private String secret;
    //有效期
    private long expireTime;
    //刷新有效期
    private long refreshExpireTime;
}
